package com.kma.summer2012.shared.model;

import java.io.Serializable;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;

public class UICrumbsRequest implements Serializable {

    private int id;
    private String state;

    public int getStateId() {
        return stateId;
    }

    public void setStateId(int stateId) {
        this.stateId = stateId;
    }

    private int stateId;
    private UICrumbsClient uicrumbsClient;
    private String crumbsRequestsState;
    //  private Date dateOfCreation;
    private String dateOfCreation;
    private String requestInfo;
    private Integer actualTimeOfWork;
    private UICrumbsUser engineer;
    private Map<UICrumbsWorkItem, Short> uicrumbsWorkItems = new HashMap<UICrumbsWorkItem, Short>(0);
    private Map<UICrumbsToolItem, Short> uicrumbsToolsItems = new HashMap<UICrumbsToolItem, Short>(0);
    private Set<UICrumbsDateAndTime> uicrumbsDateAndTimes = new HashSet<UICrumbsDateAndTime>(0);
    private Set<UIComment> uicrumbsComments = new HashSet<UIComment>(0);


    //!!!
    public UICrumbsRequest() {
    }

    public Map<UICrumbsToolItem, Short> getUicrumbsToolsItems() {
        return uicrumbsToolsItems;
    }

    public void setUicrumbsToolsItems(Map<UICrumbsToolItem, Short> uicrumbsToolsItems) {
        this.uicrumbsToolsItems = uicrumbsToolsItems;
    }


    public String getState() {
        return state;
    }

    public void setState(String s) {
        this.state = s;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public UICrumbsClient getUicrumbsClient() {
        return uicrumbsClient;
    }

    public void setUicrumbsClient(UICrumbsClient uicrumbsClient) {
        this.uicrumbsClient = uicrumbsClient;
    }

    public String getCrumbsRequestsState() {
        return crumbsRequestsState;
    }

    public void setCrumbsRequestsState(String crumbsRequestsState) {
        this.crumbsRequestsState = crumbsRequestsState;
    }

    /*public Date getDateOfCreation() {
        return dateOfCreation;
    }*/
    public String getDateOfCreation() {
        return dateOfCreation;
    }

    /*public void setDateOfCreation(Date dateOfCreation) {
        this.dateOfCreation = dateOfCreation;
    }*/
    public void setDateOfCreation(String dateOfCreation) {
        this.dateOfCreation = dateOfCreation;
    }

    public String getRequestInfo() {
        return requestInfo;
    }

    public void setRequestInfo(String requestInfo) {
        this.requestInfo = requestInfo;
    }

    public Integer getActualTimeOfWork() {
        return actualTimeOfWork;
    }

    public void setActualTimeOfWork(Integer actualTimeOfWork) {
        this.actualTimeOfWork = actualTimeOfWork;
    }

    public UICrumbsUser getEngineer() {
        return engineer;
    }

    public void setEngineer(UICrumbsUser engineer) {
        this.engineer = engineer;
    }

    public Map<UICrumbsWorkItem, Short> getUicrumbsWorkItems() {
        return uicrumbsWorkItems;
    }

    public void setUicrumbsWorkItems(Map<UICrumbsWorkItem, Short> uicrumbsWorkItems) {
        this.uicrumbsWorkItems = uicrumbsWorkItems;
    }

    public Set<UICrumbsDateAndTime> getUicrumbsDateAndTimes() {
        return uicrumbsDateAndTimes;
    }

    public void setUicrumbsDateAndTimes(Set<UICrumbsDateAndTime> uicrumbsDateAndTimes) {
        this.uicrumbsDateAndTimes = uicrumbsDateAndTimes;
    }

    public Set<UIComment> getUicrumbsComments() {
        return uicrumbsComments;
    }

    public void setUicrumbsComments(Set<UIComment> uicrumbsComments) {
        this.uicrumbsComments = uicrumbsComments;
    }


}

